import request from '@/utils/request'

export function page(data) {
  return request({
    url: '/dictType/page',
    method: 'get',
    params: data
  })
}


export function create(data) {
  return request({
    url: `/dictType`,
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: `/dictType`,
    method: 'put',
    data: data
  })
}

export function remove(data) {
  return request({
    url: `/dictType/${data}`,
    method: 'delete',
  })
}




